package br.com.klis.easycontrast.view;

import br.com.klis.easycontrast.model.ContrastMode;

public interface ContrastSessionViewInterface {
	public void updateTextView(int minutes, int seconds);
	public void finishTime();
	public void enablePlayControl(boolean modo);
	public void enablePauseControl(boolean modo);
	public void enableRestartControl(boolean modo);
	public void updateContrastMode(ContrastMode contrastMode);
	public void updateRepetitionText(int repetition, int repetitions);
	public void startCountDownTimer();
	public void stopCountDownTimer();
	public void setPresenter(Presenter listener);
	public void initProgressBar(int maxValueMin, int maxValueSec);
	public void setPauseMode();
	public void setRunningMode();
	public void setInitMode();
	public void restoreMode();

	public interface Presenter{
		void play();
		void pause();
		void restart();
		void startSession();
		
		/**
		 * Atualiza a tela de tempo
		 */
		void updateTimeScreen(boolean resetTime);
		void restartSession();
		String getContrastModeAtualText();
		int getRepetitionCount();
		boolean isLastTimeOfSession();
		boolean isNewRepetition();
		void updateRepetitionText();
		void createTime();
		boolean playSound();
		boolean vibrate();
		void initProgressBar();
		void startScreen(boolean resetTime);
	}

	
}
